package com.laoxu.test.rbacdemo.service;

import com.laoxu.test.rbacdemo.common.PageRequest;
import com.laoxu.test.rbacdemo.model.SysDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laoxu
 * @since 2020-08-09
 */
public interface SysDeptService extends IService<SysDept> {
    Map<String, Object> findDepts(PageRequest request, SysDept dept);

    List<SysDept> findDepts(SysDept dept, PageRequest request);

    void createDept(SysDept dept);

    void updateDept(SysDept dept);

    void deleteDepts(String[] deptIds);
}
